<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>选课</title>
    <link rel="stylesheet" href="/admin/css/style.css" type="text/css" media="all">
</head>
<body>
<div class="container">
    <h3 class="marginbot">选课<a href="/front/selcet/list" class="sgbtn">返回选课列表</a></h3>
    <div class="mainbox">
        <form action="/front/select/select"   method="post"  enctype="multipart/form-data" >
            学生姓名：<br>
            <input id="studentName"  name="studentName" value=""><br>
            <h1>可选课程</h1>
            <?php foreach ($list as $row) {;?>
                <label><input name="course[]" type="checkbox" value="<?php echo $row['id']; ?>" /><?php echo $row['courseName']; ?> </label>
            <?php }
;?>
            <input type="submit" value="提交" id="submitButton">
        </form>
    </div>
</div>
</body>
</html>
